package com.zx.www.volunteersystem.controller;

import com.zx.www.volunteersystem.mapper.Hour_statisticsMapper;
import com.zx.www.volunteersystem.util.R;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/hour_statistics")
@Tag(name = "工时统计管理")
public class Hour_statisticsController {
    @Resource
    private Hour_statisticsMapper hour_statisticsMapper;
    @RequestMapping("/list")
    public R list() {
        return R.ok(hour_statisticsMapper.queryAll());
    }
}
